package com.zbkj.service.service;

import com.zbkj.dal.entity.order.OrderRentPaymentRecord;
import com.zbkj.service.model.dto.OrderRentOverduePaymentRecordCreateDTO;

import java.util.List;

public interface OrderRentPaymentService {
    String create(OrderRentOverduePaymentRecordCreateDTO createDTO);

    List<OrderRentPaymentRecord> getByOrderNo(String orderNo, OrderRentPaymentRecord.PayTradeType payTradeType, OrderRentPaymentRecord.PayType payType);

    List<OrderRentPaymentRecord> getByOrderNo(String orderNo);

    OrderRentPaymentRecord getByPayOrderNo(String orderNo);

    OrderRentPaymentRecord getByOutTradeNo(String outTradeNo);

    boolean updateById(OrderRentPaymentRecord record);

}
